/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package domain;

import java.awt.Color;
import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author Jasper
 */
public class DrawInterface {
    final String[] figuren = {"pen","rechthoek","cirkel","ellips","lijn"};
    final Map<String,Color> kleuren = new HashMap<String,Color>();
    
    public DrawInterface(){
        initKleuren();
    }
    
    private void initKleuren()
    {
        kleuren.put("zwart", Color.BLACK);
        kleuren.put("rood", Color.RED);
        kleuren.put("geel",Color.YELLOW);
        kleuren.put("groen", Color.GREEN);
        kleuren.put("blauw", Color.BLUE);
        kleuren.put("...", null);
    }
    
    public String[] getKleuren(){
        return (String[]) kleuren.keySet().toArray();
    }
    
    public Color getKleurValue(String kleur){
        return kleuren.get(kleur);
    }
    
}
